package com.reluxer.util;

public class IpThreadLocal {

    public static ThreadLocal<String> IP = new ThreadLocal<>();


    public static String getIp() {
        return IP.get();
    }

    public static void setIp(String ip) {
        IP.set(ip);
    }

    public static void clear() {
        IP.remove();
    }

}
